package com.fy.module.repo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 错题本
 * </p>
 *
 * @author yang
 * @since 2023-03-22
 */
@TableName("el_user_book")
@ApiModel(value = "UserBook对象", description = "错题本")
public class UserBook implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("ID")
    private String id;

    @ApiModelProperty("考试ID")
    private String examId;

    @ApiModelProperty("用户ID")
    private String userId;

    @ApiModelProperty("题目ID")
    private String quId;

    @ApiModelProperty("加入时间")
    private Date createTime;

    @ApiModelProperty("最近错误时间")
    private Date updateTime;

    @ApiModelProperty("错误时间")
    private Integer wrongCount;

    @ApiModelProperty("题目标题")
    private String title;

    @ApiModelProperty("错题序号")
    private Integer sort;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
    public String getExamId() {
        return examId;
    }

    public void setExamId(String examId) {
        this.examId = examId;
    }
    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }
    public String getQuId() {
        return quId;
    }

    public void setQuId(String quId) {
        this.quId = quId;
    }
    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
    public Integer getWrongCount() {
        return wrongCount;
    }

    public void setWrongCount(Integer wrongCount) {
        this.wrongCount = wrongCount;
    }
    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }
    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    @Override
    public String toString() {
        return "UserBook{" +
            "id=" + id +
            ", examId=" + examId +
            ", userId=" + userId +
            ", quId=" + quId +
            ", createTime=" + createTime +
            ", updateTime=" + updateTime +
            ", wrongCount=" + wrongCount +
            ", title=" + title +
            ", sort=" + sort +
        "}";
    }
}
